package com.bbcare.exportExcel.plat.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;


/**
 * @name:宝贝
 * @author:
 * @createTime: 2015-05-12 09:24:35
 */

@Entity
@Table(name = "t_baby")
public class Baby {

    @Id
    @GenericGenerator(name = "systemUUID", strategy = "uuid")
    @GeneratedValue(generator = "systemUUID")
    // 宝贝编码
    @Column(name = "_babyId")
    private String babyId;

    // 宝贝姓名
    @Column(name = "_babyName")
    private String babyName;

    @Column(name = "_userId")
    private String userId;

    @Column(name = "_userName")
    private String userName;

    @Column(name = "_followUserId")
    private String followUserId;

    @Column(name = "_unreadmsg")
    private Integer unreadmsg;

    @Column(name = "_rongUserId")
    private String rongUserId;// 群成员里存储的编号

    // 宝贝昵称
    @Column(name = "_nickName")
    private String nickName;

    // 宝宝真实姓名
    @Column(name = "_realName")
    private String realName;

    // 宝贝性别
    @Column(name = "_gender")
    private String gender;

    // 宝贝生日
    @Column(name = "_birthday")
    private String birthday;

    // 宝贝头像
    @Column(name = "_iconPath")
    private String iconPath;

    // 绑定渠道
    @Column(name = "_channelId")
    private String channelId;

    // 简称
    @Column(name = "_shortName")
    private String shortName;

    // 孕周
    @Column(name = "_pregnancyWeek")
    private Integer pregnancyWeek;

    // 填写日期
    @Column(name = "_writetime")
    private String writetime;

    // 健康状态
    @Column(name = "_health")
    private String health;

    // 阿里图片style
    @Column(name = "_suffix")
    private String suffix;

    // 与宝宝的关系
    @Column(name = "_relationship")
    private String relationship;

    // 医保卡号
    @Column(name = "_card")
    private String card;

    // 住院号
    @Column(name = "_hospitalNumber")
    private String hospitalNumber;

    // 大卡号
    @Column(name = "_bigcard")
    private String bigcard;

    // 住址
    @Column(name = "_address")
    private String address;

    // 备用电话
    @Column(name = "_sparephone")
    private String sparephone;

    // 添加者（医生）编号
    @Column(name = "_doctorId")
    private String doctorId;

    // 首次登录 Y-首次；N-非首次
    @Column(name = "_firstLogin")
    private String firstLogin;

    // 预产期
    @Column(name = "_dueDate")
    private String dueDate;

    // 怀孕时间
    @Column(name = "_pregnancyTime")
    private String pregnancyTime;

    // 产妇人生阶段01-备孕；02-怀孕；03-宝宝已出生
    @Column(name = "_stage")
    private String stage;

    // 分组--血液科患者
    @Column(name = "_randomGroup")
    private String randomGroup;

    // 队列渠道ID
    @Column(name = "source_id")
    private String sourceId;

    // 患者住院状态（血液科），空或00：已出院，01：住院中，02：医院无此门诊号对应的患者
    @Column(name = "inpatient_status")
    private String inpatientStatus;

    @Transient
    @Column(name = "_accountName")
    private String accountName;
    @Transient
    @Column(name = "_createTime")
    private String createTime;
    @Transient
    @Column(name = "_productId")
    private String productId;
    @Transient
    private String name;
    @Transient
    private String groupId;
    @Transient
    private String groupName;
    @Transient
    private String accuntId;
    @Transient
    private String code;
    @Transient
    private String status;
    @Transient
    private String type;
    // 年龄
    @Transient
    private Integer age;
    // 周龄
    @Transient
    private String ageweek;
    // 身高
    @Transient
    private Double height;
    // 体重
    @Transient
    private Double weight;
    // 母亲姓名
    @Transient
    private String motherName;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getPregnancyTime() {
        return pregnancyTime;
    }

    public void setPregnancyTime(String pregnancyTime) {
        this.pregnancyTime = pregnancyTime;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public String getMotherName() {
        return motherName;
    }

    public void setMotherName(String motherName) {
        this.motherName = motherName;
    }

    @Transient
    public String getAccuntId() {
        return accuntId;
    }

    public String getBigcard() {
        return bigcard;
    }

    public String getRandomGroup() {
        return randomGroup;
    }

    public void setRandomGroup(String randomGroup) {
        this.randomGroup = randomGroup;
    }

    public void setBigcard(String bigcard) {
        this.bigcard = bigcard;
    }

    public String getFirstLogin() {
        return firstLogin;
    }

    public void setFirstLogin(String firstLogin) {
        this.firstLogin = firstLogin;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setAccuntId(String accuntId) {
        this.accuntId = accuntId;
    }

    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    public String getSparephone() {
        return sparephone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setSparephone(String sparephone) {
        this.sparephone = sparephone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getHospitalNumber() {
        return hospitalNumber;
    }

    public void setHospitalNumber(String hospitalNumber) {
        this.hospitalNumber = hospitalNumber;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getProductId() {
        return productId;
    }

    public String getDueDate() {
        return dueDate;
    }

    public void setDueDate(String dueDate) {
        this.dueDate = dueDate;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public String getBabyId() {
        return babyId;
    }

    public String getAgeweek() {
        return ageweek;
    }

    public void setAgeweek(String ageweek) {
        this.ageweek = ageweek;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public void setBabyId(String babyId) {
        this.babyId = babyId;
    }

    public String getBabyName() {
        return babyName;
    }

    public void setBabyName(String babyName) {
        this.babyName = babyName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getIconPath() {
        return iconPath;
    }

    public void setIconPath(String iconPath) {
        this.iconPath = iconPath;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public Integer getPregnancyWeek() {
        return pregnancyWeek;
    }

    public void setPregnancyWeek(Integer pregnancyWeek) {
        this.pregnancyWeek = pregnancyWeek;
    }

    public String getWritetime() {
        return writetime;
    }

    public void setWritetime(String writetime) {
        this.writetime = writetime;
    }

    public String getHealth() {
        return health;
    }

    public void setHealth(String health) {
        this.health = health;
    }

    public String getRelationship() {
        return relationship;
    }

    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUnreadmsg() {
        return unreadmsg;
    }

    public void setUnreadmsg(Integer unreadmsg) {
        this.unreadmsg = unreadmsg;
    }

    public String getRongUserId() {
        return rongUserId;
    }

    public void setRongUserId(String rongUserId) {
        this.rongUserId = rongUserId;
    }

    public String getFollowUserId() {
        return followUserId;
    }

    public void setFollowUserId(String followUserId) {
        this.followUserId = followUserId;
    }

    public String getInpatientStatus() {
        return inpatientStatus;
    }

    public void setInpatientStatus(String inpatientStatus) {
        this.inpatientStatus = inpatientStatus;
    }


}